.middle {
    display: flex;
    justify-content: center;
}

.middle > div {
    width: 900px;
    border: 1px solid gray;
    margin: 50px 0;

}

.middle > div > div:nth-child(1) {
    display: flex;
    justify-content: space-between;
}

/*----------------------类型------------------*/
.type {
    display: flex;
}

.type > div {
    padding: 0 20px;
    line-height: 60px;
    background-color: rgb(243, 243, 243);
}

.type > div:hover {
    background-color: rgb(230, 144, 57);
    color: white;
    cursor: pointer;
}

/*------------------产品内容---------------*/
.product {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.product > div {
    width: 210px;
    /*border: 1px solid red;*/
    margin: 10px 0;
}

.product > div > div:nth-child(1) {
    width: 210px;
    height: 150px;
}

.product > div > div:nth-child(1) img {
    width: 100%;
    height: 100%;
}

.product > div > div:nth-child(3) {
    display: flex;
}

.price {
    color: red;
}